projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6238bfa
)
(dired-chown-program): Try /usr/sbin/chown.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 7 Jun 1996 14:57:04 +0000
(14:57 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 7 Jun 1996 14:57:04 +0000
(14:57 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 76ce9e8d45d48da54fe4896fdb1389b8db642929..65f8a4e6dee38e6269d007f40b2a85f3ef7af324 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-49,7
+49,10
@@
may contain even `F', `b', `i' and `s'. See also the variable
;;;###autoload
(defvar dired-chown-program
(if (memq system-type '(hpux dgux usg-unix-v irix linux lignux))
- "chown" "/etc/chown")
+ "chown"
+ (if (file-exists-p "/usr/sbin/chown")
+ "/usr/sbin/chown"
+ "/etc/chown"))
"Name of chown command (usually `chown' or `/etc/chown').")
(defvar dired-chmod-program